home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / CHANGES < prev    next >
Text File  |  1997-04-24  |  4KB  |  138 lines

  1. These are most of the changes made to the original v2600 source code
  2. necessary to compile on Amiga using SAS/C.  I don't like warnings...
  3.  
  4. Version 0.5:
  5.  
  6. config.h:
  7. #define inline                        SAS/C optimization automatically inlines
  8. #define TIME_WITH_SYS_TIME            <sys/time> doesn't exist with SAS/C
  9. #define Verbose 0                    I don't want debugging info...
  10. #define WORDS_BIGENDIAN 1            Amiga runs on Motorola 68000
  11. #define HAVE_ATEXIT 1
  12. all other defines set to 0            I don't have these things...
  13.  
  14. types.h:
  15. #include <exec/types.h>                Amiga type declarations
  16. deleted BYTE typedef                That BYTE definition should be UBYTE, i.e.
  17.                                 typedef unsigned char    UBYTE;
  18.  
  19. vmachine.h:
  20. all BYTEs changed to UBYTEs            see types.h
  21.  
  22. collision.h:
  23. all BYTEs changed to UBYTEs            see types.h
  24.  
  25. display.h:
  26. all BYTEs changed to UBYTEs            see types.h
  27.  
  28. exmacro.h:
  29. all BYTEs changed to UBYTEs            see types.h
  30.  
  31. extern.h:
  32. all BYTEs changed to UBYTEs            see types.h
  33.  
  34. memory.h:
  35. all BYTEs changed to UBYTEs            see types.h
  36.  
  37. misc.h:
  38. all BYTEs changed to UBYTEs            see types.h
  39.  
  40. sound.h:
  41. all BYTEs changed to UBYTEs            see types.h
  42.  
  43. raster.c:
  44. #include <string.h>                    prototype for memcpy()
  45. all BYTEs changed to UBYTEs            see types.h
  46.  
  47. misc.c:
  48. all BYTEs changed to UBYTEs            see types.h
  49.  
  50. files.c:
  51. #include <stdlib.h>                    prototype for exit()
  52. all BYTEs changed to UBYTEs            see types.h
  53. added "return 1" to loadc26            I just don't like warnings...
  54.  
  55. vmachine.c:
  56. #include <string.h>                    prototype for memcpy()
  57. all BYTEs changed to UBYTEs            see types.h
  58.  
  59. memory.c:
  60. #include <config.h>                    so we can undefine inline
  61. #include <string.h>                    prototype for memcpy()
  62. all BYTEs changed to UBYTEs            see types.h
  63.  
  64. cpu.c:
  65. all BYTEs changed to UBYTEs            see types.h
  66. changed #include <sys/types.h> to
  67. #include "types.h"                    so types match all other modules
  68.  
  69. exmacro.c:
  70. all BYTEs changed to UBYTEs            see types.h
  71. type-cast ADDRESS in load_abs_addr        warnings again...
  72.  
  73. keyboard.c:
  74. #include <stdlib.h>                    protoype for exit()
  75. all BYTEs changed to UBYTEs            see types.h
  76.  
  77. collision.c:
  78. all BYTEs changed to UBYTEs            see types.h
  79.  
  80. options.c:                        This was the messy one...
  81. added /n's to copyright and usage        SAS/C didn't like the other way
  82. added -k to choose keyboard            It wasn't there
  83. eliminiated X11 stuff from usage        I had to put /n's in there anyway...
  84. wrote a generic command parser        I don't have getopt()
  85. made real joystick default            Most Amigans have them
  86. made no sound default                Haven't implemented sound yet...
  87. made no debug default                Personal preference
  88. removed base_usage function            I don't know why it's there
  89. removed -t option                    Don't need it
  90.  
  91. main.c:
  92. moved the atexit stuff to top            memory wasted when ROM wouldn't load
  93.  
  94.  
  95. I added a no_limiter.c.  The Amiga graphics driver I'm using automatically
  96. syncs up to the vertical blank, so no fancy timing tricks are necessary.
  97. It would be impossible to go faster than the vertical blank, which will be
  98. 60 Hz on NTSC Amigas and 50Hz on PAL Amigas.
  99.  
  100. I wrote a v2600.readme to replace the v2600.man.  Not many Amiga users have
  101. man.  I also wrote a README.Amiga which adds some Amiga details.
  102.  
  103.  
  104.  
  105. Version 0.6:
  106.  
  107. Almost completely rewrote config.c. Renamed to amiga_config.c. Added some
  108. options, took away many that didn't apply to Amiga.
  109.  
  110. Changed quite a bit of raster.c. Renamed to amiga_raster.c.
  111.  
  112. Took all debug stuff out of cpu.c.
  113.  
  114. Removed references to base_opts.magstep from several modules.
  115.  
  116. Slimmed down cpu.c.  Renamed to amiga_cpu.c.  Took out all cases for
  117. illegal opcode and made illegal opcode the default. Took out some X64 stuff.
  118.  
  119. Remarked out the printf in the RSYNC case in memory.c. It happens a lot...
  120.  
  121. Made the printf in vmachine about ROM size dependent on Verbose define.
  122.  
  123. Moved Amiga mouse routines to amiga_disp.c for OS-proper window relative stuff.
  124.  
  125.  
  126.  
  127. Version 0.7:
  128.  
  129. Added amiga_sound.c to implement sound, such as it is. OS friendly!
  130.  
  131. In tiasound.c, when sound is written to buffer, 64 is subtracted to make it clean.
  132.  
  133. Added exmacro.c to amiga_cpu.c so functions could be inlined.
  134.  
  135. Removed calls to functions that don't exist.
  136.  
  137. Removed unnecessary header files from many modules.
  138.